package com.langfeiyes.pattern.builder;

//生产车间
public class ProductionWorkshop {

    //生产
    private IBuilder builder;

    public void setBuilder(IBuilder builder) {
        this.builder = builder;
    }
    public Drink produce(){
        return builder.build();
    }
}
